import os.path, sys

# BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# sys.path.append(BASE_DIR)

from globally import Root_Dir, Databases_Dir, Sourceslists_Dir, Quicklyindex_Dir, Download_Dir

def main():
    # 需要创建的文件夹列表
    basedir_list = (Root_Dir, Databases_Dir, Sourceslists_Dir, Quicklyindex_Dir, Download_Dir)
    for mumber in basedir_list:
        if not os.path.exists(mumber):
            os.mkdir(mumber)